On the Relationship Between Classes, Objects, and Data Abstraction
نویسندگان
چکیده
While most object-oriented programming is done in classbased languages, the trend in theoretical study has been to develop formal systems that are object-based, without classes and often without explicit inheritance mechanisms. This paper studies the correspondence between object primitives and class constructs of the form found in C++, Eiffel, and Java. The main qualitative insight is that such classes require both an extensible aggregate, to serve as the basis for inheritance, and a non-extensible form of object to support subtyping. We compare three approaches to modeling classes, the first using records of object components called “premethods” and the latter two using an extensible form of object called a “prototype.” While the first approach uses fewer primitive operations on objects, it does not provide several important features of class-based languages. In the latter two approaches, we overcome these deficiencies by combining prototypes with standard abstraction mechanisms. All three treatments of classes use translations into provably sound object calculi.
منابع مشابه
Objects Identification in Object-Oriented Software Development - A Taxonomy and Survey on Techniques
Analysis and design of object oriented is onemodern paradigms for developing a system. In this paradigm, there are several objects and each object plays some specific roles. Identifying objects (and classes) is one of the most important steps in the object-oriented paradigm. This paper makes a literature review over techniques to identify objects and then presents six taxonomies for them. The f...
متن کاملکارایی روش شماره منحنی رواناب (CN- SCS ) در برآورد رواناب در حوزه آبخیز تهم چای، شمال غرب زنجان
The Soil Conservation Service Curve Number (SCS-CN) method is widely used for predicting direct runoff from rainfall events. The ratio of initial abstraction (λ=Ia/S) to maximum potential retention (S) was assumed in its original development to be equal to 0.2 (λ=Ia/S=0.2) in SCS-CN method. Application of the initial abstraction ratio equal to 0.2 out of the area where it has been developed may...
متن کاملAn Investigation of the Relationship between L2 Learning Styles and Teaching Methodologies in EFL Classes
Individual differences have always been a key element in the success and failure of learners in language classrooms. Learners come to EFL classes with various learning styles and teachers utilize different methodologies targeting different needs of the learners which may have important effects on the quality of the learning environment. In this study a comparison is made between learning styles...
متن کاملGrouping Objects to Homogeneous Classes Satisfying Requisite Mass
Grouping datasets plays an important role in many scientific researches. Depending on data features and applications, different constrains are imposed on groups, while having groups with similar members is always a main criterion. In this paper, we propose an algorithm for grouping the objects with random labels, nominal features having too many nominal attributes. In addition, the size constra...
متن کاملComparison Criteria for Ontological Multi-Level Modeling
Ontological multi-level modeling refers to describing domain objects at multiple levels of abstraction. Using traditional semantic data modeling, multi-level modeling can be achieved by representing objects in different abstraction hierarchies, classification, aggregation and generalization. Multiple representation, however, leads to accidental complexity, complicating modeling and extension. S...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- TAPOS
دوره 4 شماره
صفحات -
تاریخ انتشار 1998